﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Multiprocessing.Core.Mathematics.Graphs
{
    public abstract class BaseRib<TValue>
    {
        #region Properties

        public TValue Weight { get; set; }

        #endregion

        #region Properties

        protected BaseRib(TValue weight)
        {
            Weight = weight;
        }

        protected BaseRib()
            : this(default (TValue))
        {
        }

        #endregion
    }
}
